package com.itheima.config;


import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.servlet.config.annotation.EnableWebMvc;
import org.springframework.web.servlet.config.annotation.WebMvcConfigurer;

@Configuration
//springmvc的容器中只管理web层相关 的bean
@ComponentScan({"com.itheima.controller"})

@EnableWebMvc
public class SpringMvcConfig implements WebMvcConfigurer {
}
